<Window x:Class="AppDemo.DockingTabbedMdiWindow1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared" 
    xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking" 
    Title="DockingTabbedMdiWindow1" Width="800" Height="600">

	<!-- TODO: Associate an image with the DocumentWindow and ToolWindows below by setting ImageSource -->

    <DockPanel>
        <!-- DockSite -->
        <docking:DockSite x:Name="dockSite">
            <docking:SplitContainer Orientation="Horizontal">
                <docking:SplitContainer Orientation="Vertical">
                    <docking:Workspace>
                        <docking:TabbedMdiHost>
                            <docking:SplitContainer Orientation="Vertical">
                                <docking:SplitContainer Orientation="Horizontal">
                                    <docking:TabbedMdiContainer>
                                        <docking:DocumentWindow Title="Upper-1" ImageSource="/Resources/Images/TextDocument16.png">
                                            <TextBox TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
													Text="A document window in the upper-left corner of the tabbed MDI area." />
                                        </docking:DocumentWindow>
                                    </docking:TabbedMdiContainer>
                                    <docking:TabbedMdiContainer>
                                        <docking:DocumentWindow Title="Upper-2" ImageSource="/Resources/Images/TextDocument16.png">
                                            <TextBox TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
													Text="A document window in the upper-right corner of the tabbed MDI area." />
                                        </docking:DocumentWindow>
                                    </docking:TabbedMdiContainer>
                                </docking:SplitContainer>
                                <docking:TabbedMdiContainer>
                                    <docking:DocumentWindow Title="Lower">
                                        <TextBox TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
												Text="A document window in the lower part of the tabbed MDI area." />
                                    </docking:DocumentWindow>
                                </docking:TabbedMdiContainer>
                            </docking:SplitContainer>
                        </docking:TabbedMdiHost>
                    </docking:Workspace>
                    <docking:ToolWindowContainer>
                        <docking:ToolWindow Title="DockedBottom">
                            <TextBox TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
									Text="A tool window docked below the tabbed MDI area." />
                        </docking:ToolWindow>
                    </docking:ToolWindowContainer>
                </docking:SplitContainer>
                <docking:SplitContainer Orientation="Vertical">
                    <docking:ToolWindowContainer>
                        <docking:ToolWindow Title="DockedRight-1">
                            <TextBox TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
									Text="A tool window docked to the upper-right of the tabbed MDI area." />
                        </docking:ToolWindow>
                    </docking:ToolWindowContainer>
                    <docking:ToolWindowContainer>
                        <docking:ToolWindow Title="DockedRight-2">
                            <TextBox TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"
									Text="A tool window docked to the lower-right of the tabbed MDI area." />
                        </docking:ToolWindow>
                    </docking:ToolWindowContainer>
                </docking:SplitContainer>
            </docking:SplitContainer>
        </docking:DockSite>

    </DockPanel>
	
</Window>
